package com.ruoyi.client.request;

import com.ruoyi.client.Pay;
import com.ruoyi.client.response.PayOrderCreateResponse;
import com.ruoyi.client.vo.JeepayObject;

/**
 * 支付下单请求对象
 */
public class PayOrderCreateRequest implements JeepayRequest<PayOrderCreateResponse> {
    private String apiVersion = Pay.VERSION;

    //统一下单接口
    private final String apiUri = "api/pay/unifiedOrder";
    private RequestOptions options;
    private JeepayObject bizModel = null;

    @Override
    public String getApiUri() {
        return this.apiUri;
    }

    @Override
    public String getApiVersion() {
        return this.apiVersion;
    }

    @Override
    public void setApiVersion(String apiVersion) {
        this.apiVersion = apiVersion;
    }

    @Override
    public RequestOptions getRequestOptions() {
        return this.options;
    }

    @Override
    public void setRequestOptions(RequestOptions options) {
        this.options = options;
    }

    @Override
    public JeepayObject getBizModel() {
        return this.bizModel;
    }

    @Override
    public void setBizModel(JeepayObject bizModel) {
        this.bizModel = bizModel;
    }

    @Override
    public Class<PayOrderCreateResponse> getResponseClass() {
        return PayOrderCreateResponse.class;
    }
}
